package com.sfhk.dao;

import com.sfhk.domain.User;

import java.util.List;

public interface UserDao {
    List<User> findAll();
    User findByUserName(String username);
    void deleteById(int id);
    void addUser(User user);
    void update(User user);
    User findById(int id);

}
